﻿<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
    <!-- mobile settings -->
    <meta name="viewport" content="width=device-width, maximum-scale=1, initial-scale=1, user-scalable=0" />
    <!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->
    <!-- WEB FONTS : use %7C instead of | (pipe) -->
    <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400%7CRaleway:300,400,500,600,700%7CLato:300,400,400italic,600,700" rel="stylesheet" type="text/css" />

    <!-- CORE CSS -->
    <link href="~/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />

    <!-- THEME CSS -->
    <link href="~/Content/essentials.css" rel="stylesheet" type="text/css" />
    <link href="~/Content/layout-admin.css" rel="stylesheet" type="text/css" />


    <!-- PAGE LEVEL SCRIPTS -->
    @*<link href="~/Content/header-1.css" rel="stylesheet" type="text/css" />*@
    <link href="~/Content/color_scheme/blue.css" rel="stylesheet" type="text/css" id="color_scheme" />
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/jqueryval")
    @Scripts.Render("~/bundles/bootstrap")
    @RenderSection("scripts", required: false)
</head>
<body class="min">

    <div id="wrapper" class="clearfix">



        <aside id="aside">
            <nav id="sideNav">
                <ul class="nav nav-list">
                    <li class="@{
                                   if (ViewContext.RouteData.Values["controller"].ToString() == "AdminApi")
                                   {
                                       <text>active</text>
                                   }
                               } el_primary" id="el_0">
                        <a class="dashboard" href="@Url.Action("Index","AdminApi")">
                            <i class="main-icon fa fa-dashboard"></i><span>Dashboard</span>
                        </a>
                    </li>
                    <li class="el_primary" id="el_1">
                        <a href="#">
                            <i class="fa fa-menu-arrow pull-right"></i>
                            <i class="main-icon fa fa-code"></i> <span>Bots</span>
                        </a>
                        <ul id="botList">
                            <li>
                                <a href="@Url.Action("Bot","AdminApi",new {name = "werewolfbot"})">
                                    
                                    <i class="fa fa-paper-plane-o"></i>
                                    Bot 1
                                </a>
                                
                            </li>
                            <li>
                                <a href="@Url.Action("Bot","AdminApi",new {name = "werewolfIIbot"})">

                                    <i class="fa fa-paper-plane-o"></i>
                                    Bot 2
                                </a>
                                
                            </li>
                            <li>
                                <a href="@Url.Action("Bot","AdminApi",new {name = "werewolfbetabot"})">

                                    <i class="fa fa-paper-plane-o"></i>
                                    Beta Bot
                                </a>
                                
                            </li>
                        </ul>
                    </li>
                    <li class="@{
                                   if (ViewContext.RouteData.Values["controller"].ToString() == "GlobalBans")
                                   {
                                       <text>active</text>
                                   }
                               } el_primary" id="el_1">
                        <a href="@Url.Action("Index","GlobalBans")">
                            <i class="main-icon fa fa-ban"></i> <span>Global Bans</span>
                        </a>
                    </li>
                </ul>
            </nav>
            <span id="asidebg"></span>

        </aside>

        <!-- HEADER -->
        <header id="header">

            <!-- Mobile Button -->
            <button id="mobileMenuBtn"></button>

            <!-- Logo -->
            <span class="logo pull-left">
                <img src="/images/werewolf title.png" alt="admin panel" height="35" />
            </span>

            <form method="get" action="@Url.Action("Search","AdminApi")" class="search pull-left hidden-xs">
                <input type="text" class="form-control" name="query" placeholder="Search for a game..." />
            </form>
        </header>
        <!-- /HEADER -->


        <section id="middle" style="margin-left: 0px;">
            <div id="content" class="dashboard padding-20">
                @RenderBody()
            </div>
        </section>
        <!-- SCROLL TO TOP -->
        <a href="#" id="toTop"></a>


        <!-- PRELOADER -->
        <div id="preloader">
            <div class="inner">
                <span class="loader"></span>
            </div>
        </div><!-- /PRELOADER -->

    </div>
    @try
    {
        RenderSection("scripts", required: false);
    }
    finally
    {

    }
    <!-- JAVASCRIPT FILES -->
    <script type="text/javascript">var plugin_path = '/plugins/';</script>


    <script type="text/javascript" src="~/Scripts/scripts.js"></script>
    <script type="text/javascript" src="~/Scripts/app.js"></script>

    <script>
        (function (i, s, o, g, r, a, m) {
            i['GoogleAnalyticsObject'] = r;
            i[r] = i[r] ||
                function () {
                    (i[r].q = i[r].q || []).push(arguments)
                }, i[r].l = 1 * new Date();
            a = s.createElement(o),
                m = s.getElementsByTagName(o)[0];
            a.async = 1;
            a.src = g;
            m.parentNode.insertBefore(a, m)
        })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');

        ga('create', 'UA-77215526-1', 'auto');
        ga('send', 'pageview');
        // ReSharper disable AssignToImplicitGlobalInFunctionScope
        //$(document)
        //    .ready(function () {
        //        setTimeout(function () {
        //            /** Flip Boxes
        //             *********************** **/
        //            if (jQuery('.box-flip').length > 0) {

        //                jQuery('.box-flip')
        //                    .each(function () {

        //                        _height1 = jQuery('.box1', this).outerHeight();
        //                        _height2 = jQuery('.box2', this).outerHeight();

        //                        if (_height1 >= _height2) {
        //                            _height = _height1;
        //                        } else {
        //                            _height = _height2;
        //                        }

        //                        jQuery(this).css({ "min-height": _height + "px" });
        //                        jQuery('.box1', this).css({ "min-height": _height + "px" });
        //                        jQuery('.box2', this).css({ "min-height": _height + "px" });
        //                    });

        //                jQuery('.box-flip')
        //                    .hover(function () {
        //                        jQuery(this).addClass('flip');
        //                    },
        //                        function () {
        //                            jQuery(this).removeClass('flip');
        //                        });

        //                $('#portfolio').isotope({ masonry: { columnWidth: 10 }, itemSelector: '.portfolio-item' });
        //            }
        //        },
        //            1000);
        //    });
    </script>


    <!-- STYLESWITCHER - REMOVE -->
    @*<script async type="text/javascript" src="~/plugins/styleswitcher/styleswitcher.js"></script>*@

    <!-- PAGELEVEL SCRIPTS -->
    <script type="text/javascript" src="~/Scripts/contact.js"></script>
</body>
</html>
